Make tree-sitter thing feature public and remove obsolete functions
authorYuan Fu <casouri@gmail.com>
Sun, 7 Apr 2024 20:33:31 +0000 (13:33 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 8 Apr 2024 05:20:31 +0000 (22:20 -0700)
commit64854869ae0cacddb16926670e2a67c03a3f9618
treec92ce98c7a602f3da80e8f8028d5d1194cb36d6e
parentee377aaddf9d73116b93c3d54b1ffef9a3a8b925
Make tree-sitter thing feature public and remove obsolete functions

* lisp/treesit.el (treesit--things-around): Remove function.
(treesit-forward-sexp):
(treesit-beginning-of-thing):
(treesit-end-of-thing):
(treesit-navigate-thing):
(treesit-thing-at-point):
(treesit-outline-search): Use public version of thing-functions.
(treesit--thing-prev):
(treesit--thing-next):
(treesit--thing-at):
(treesit--navigate-thing): Make public.

* test/src/treesit-tests.el (treesit--ert-test-defun-navigation): Use
public version of thing-functions.
lisp/treesit.el
test/src/treesit-tests.el